const plugins = []
if (process.env.NODE_ENV === 'production') {
    plugins.push('transform-remove-console')
}
module.exports = {
	presets: [
		'@vue/app'
	],
	plugins: [
		...plugins,
		[
			'import',
			{
				libraryName: 'vant',
				libraryDirectory: 'es',
				// 指定样式路径
				style: name => `${name}/style/less`
			},
			'vant'
		]
	]
}
